home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 September / CHIP Eylül 1998.iso / freeware / mp3 / GMP3 / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1998-03-06  |  677 b   |  33 lines

  1. @echo off
  2. cls
  3. echo %1
  4. REM Garth MPEG Player Install Batch File
  5. if not %1X==X goto installtodir
  6.  
  7. if not exist %winbootdir%\system\Mmsystem.dll goto nowindir
  8. echo Copying mpegdll.dll to %winbootdir%\system
  9. copy mpegdll.dll %winbootdir%\system
  10. if not exist %winbootdir%\system\mpegdll.dll goto error
  11. echo All Done.
  12. goto end
  13.  
  14. :installtodir
  15. echo Copying mpegdll.dll to %1
  16. copy mpegdll.dll %1
  17. if not exist %1\mpegdll.dll goto error
  18. echo All Done.
  19. goto end
  20.  
  21. :nowindir
  22. echo You'll have to provide the path to the windows "SYSTEM" directory
  23. echo ie Install D:\Windows\System
  24. goto fin
  25.  
  26. :error
  27. echo copy failed.
  28. goto fin
  29.  
  30. :end
  31. if not %windir%X==X cls
  32.  
  33. :fin